package 常用类.System类;

import java.util.Arrays;

public class system01 {
    public static void main(String[] args) {
        System.out.println("hello");
        //正常退出，0代表正常退出
//        System.exit(0);

        int[] src = {1,2,3};
        int[] dest = new int[3];
        /*
            src – the source array.
            srcPos – starting position in the source array.
            dest – the destination array.
            destPos – starting position in the destination data.
            length – the number of array elements to be copied
         */
        //复制数组
        System.arraycopy(src,1,dest,1,2);
        System.out.println(Arrays.toString(dest));

        //获取当前时间戳
        long l = System.currentTimeMillis();
        System.out.println(l);


    }
}
